package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Structure;

public class WriteOpResult extends Structure {
	
	public byte opId;
	public byte result;
	public byte[] temp = new byte[2];
	
	public static class ByValue  extends WriteOpResult implements Structure.ByValue  { }		
	public static class ByReference extends WriteOpResult implements Structure.ByReference { }
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("opId");   
        a.add("result");  
        a.add("temp");
        return a;  
    }

	@Override
	public String toString() {
		return "WriteOpResult [opId=" + opId + ", result=" + result + ", temp=" + Arrays.toString(temp) + "]";
	}

	
    
    
}
